package cl.ccs.migracionbcmc.util;

public class BooleanUtil {
    private BooleanUtil() {
        super();
    }
    
    public static Integer toInt(Boolean value) {
        Integer number;
        if (value) {
            number = new Integer(1);
        } else {
            number = new Integer(0);    
        }
        return number;
    }
}
